name		Mine
health		1
type		enemy
nomove		1 1
hostile		none
death		1
offscreenkill	100


anim idle
	loop	1
	delay	8
	offset  13 7
	followcond 1
	followanim 1
	bbox	1 0 24 8
	attack	1 0 24 8 0 0 1 0 10
	frame	data/chars/misc/mine.png
	frame	data/chars/misc/mine2.png
	frame	data/chars/misc/mine3.png
	frame	data/chars/misc/mine.png
	frame	data/chars/misc/mine2.png
	attack	0 
	frame	data/chars/misc/mine3.png

anim follow1
@script
    void self = getlocalvar("self");

    if(frame==2){
      killentity(self); //Suicide!
    }
@end_script
	delay	8
	offset  13 7
	spawnframe 1 0 0 0 0
	custentity GXPlos
	frame	data/chars/misc/empty.gif
	frame	data/chars/misc/empty.gif
	frame	data/chars/misc/empty.gif

anim death
	delay	8
	offset  13 7
	spawnframe 1 0 0 0 0
	custentity GXPlos
	frame	data/chars/misc/empty.gif
	frame	data/chars/misc/empty.gif
